package com.oreilly.ez.entity;


import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "ez_detail")
@ToString
public class EzDetail  extends BaseEntity {


  // new field...

    @ManyToOne
    @JoinColumn(name = "fk_index_id")
    private EzIndex ezIndex;


}
